package com.liuh.fram.err;

import com.alibaba.fastjson.annotation.JSONField;
/**
 * @note 响应实体类
 * @author liuh
 * */
public class Error {

	@JSONField(name = "msg")
	private String msg;
	// @JSONField(name="code",serialize = false)
	@JSONField(name = "code")
	private String code;

	public Error() {
		super();
	}

	public Error(String msg, String code) {
		super();
		this.msg = msg;
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

}